home *** CD-ROM | disk | FTP | other *** search
/ Aminet 33 / Aminet 33 - October 1999.iso / Aminet / util / conv / nocode.readme < prev    next >
Encoding:
Text File  |  1999-09-06  |  2.6 KB  |  92 lines

  1. Short:    Fast ASCII code stripper with an edge
  2. Author:   rade@coli.uni-sb.de (Ralph Debusmann)
  3. Uploader: rade@coli.uni-sb.de (Ralph Debusmann)
  4. Type:     util/conv
  5. Replaces: util/conv/nocode.lha
  6.  
  7. You have seen programs like this before. But this one does have an edge.
  8.  
  9. --
  10.  
  11. ** Introducing "nocode"
  12.  
  13. "nocode" helps you remove (or replace) ASCII codes from files (text files
  14. most probably). For instance you might wish to remove all CR-characters
  15. (ASCII 13) from a file transferred from a MS-DOS machine. "nocode" is an
  16. improved clone of "StripCodes" (also in the Aminet util/conv-directory),
  17. in case you know that program.
  18.  
  19. --
  20.  
  21. ** Improvements over similar programs like "StripCodes"
  22.  
  23. * source and target files may be the same (i.e. target file is
  24. overwritten in this case)
  25.  
  26. * fast assembly language implementation of the core remove/replace
  27. routines
  28.  
  29. * explicit messages (and error messages)
  30.  
  31. --
  32.  
  33. ** "nocode"'s Usage is very similar to "Stripcodes"'...
  34.  
  35. * source and target files different
  36.  
  37. example: nocode file1 file2 code 13
  38. ... removes all characters with ASCII code 13 (=CR) from file1 and
  39. writes the stripped data into file2 (file1 remains unchanged).
  40.  
  41. * same source and target
  42.  
  43. example: nocode file1 code 13
  44. ... same thing as above, only here the result of the stripping process
  45. is written back into file1.
  46.  
  47. * replace characters
  48.  
  49. example 1: nocode file1 file2 code 13 replacecode 88
  50. example 2: nocode file1 code 13 replacecode 88
  51. ... replace ASCII code 13 characters with ASCII code 88 ones (does not
  52. remove anything, file length remains the same).
  53.  
  54. * shorthands
  55.  
  56. You may also use shorthands for the keywords "code" ("c") and
  57. "replacecode" ("r"), i.e. example 2 from above can be tersely rewritten
  58. as:
  59.  
  60. example 2 terse: nocode file1 c 13 r 88
  61.  
  62. --
  63.  
  64. ** This is version 1.1, the second "nocode" release on Aminet.
  65.  
  66. 1.1 implements three improvements over version 1.0:
  67.  
  68. - less memory consumption (half as much)
  69.  
  70. - quicker (a little)
  71.  
  72. - added shorthands for "code" and "replacecode"-keywords
  73.  
  74. --
  75.  
  76. ** "nocode" is public domain software.
  77.  
  78. The source in AmigaE³ and m68k inline assembly is included (thanks again
  79. to Wouter for E³, this still fabulous, if unfortunately unportable
  80. language).
  81.  
  82.  
  83. ============================= Archive contents =============================
  84.  
  85. Original  Packed Ratio    Date     Time    Name
  86. -------- ------- ----- --------- --------  -------------
  87.     3360    1859 44.6% 20-Jul-99 00:21:20 +nocode
  88.     4086    1436 64.8% 20-Jul-99 00:21:18 +nocode.e
  89.     2208    1026 53.5% 20-Jul-99 00:43:00 +nocode.readme
  90. -------- ------- ----- --------- --------
  91.     9654    4321 55.2% 21-Jul-99 19:04:24   3 files
  92.